package cn.ray.springframework.beans.factory.config;

import cn.ray.springframework.beans.BeansException;
import cn.ray.springframework.beans.factory.HierarchicalBeanFactory;

//允许修改工厂的行为
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory, SingletonBeanRegistry {
    String SCOPE_SINGLETON = "singleton";
    String SCOPE_PROTOTYPE = "prototype";

    //提供配置Spring容器的能力
    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    void destroySingletons();
}
